package com.innovaswc.scrum.persistencia;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Set;


/**
 * The persistent class for the backlogitem_kind database table.
 * 
 */
@Entity
@Table(name="backlogitem_kind")
public class BacklogItemKind implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int id;

	private String tipo;

	//bi-directional many-to-one association to BacklogItem
	@OneToMany(mappedBy="backlogitemKind")
	private Set<BacklogItem> backlogitems;

    public BacklogItemKind() {
    }

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTipo() {
		return this.tipo;
	}

	public void setTipo(String tipo) {
		this.tipo = tipo;
	}

	public Set<BacklogItem> getBacklogitems() {
		return this.backlogitems;
	}

	public void setBacklogitems(Set<BacklogItem> backlogitems) {
		this.backlogitems = backlogitems;
	}
	
}